<?php

namespace common\entities\myhtsq;

use Yii;

/**
 * This is the model class for table "myscrm_erp_station_user".
 *
 * @property string $StationUserGUID
 * @property string $StationGUID
 * @property string $UserGUID
 */
class ErpStationUserEntity extends \common\entities\ConfigEntity
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'myscrm_erp_station_user';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['StationUserGUID'], 'required'],
            [['StationUserGUID', 'StationGUID', 'UserGUID'], 'string', 'max' => 40]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'StationUserGUID' => 'Station User Guid',
            'StationGUID' => 'Station Guid',
            'UserGUID' => 'User Guid',
        ];
    }
}
